import type { AddressItem } from "@/types/address.";
import { defineStore } from "pinia";
import { ref } from "vue";

export const UserAddressStore = defineStore('address', () =>{
  const seletedAddress = ref<AddressItem>()
  const changeseletedAddress = (val:AddressItem) => {
    seletedAddress.value = val
  }
  return {
    seletedAddress,
    changeseletedAddress
  }
})
